package com.zyp.shop.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by Intellij IDEA
 * 跟用户表有关的相关操作的可以使用这个类来进行解决
 * @author 赵雅璞
 * @Date: 2022/11/17 18:59
 * @Version 1.0
 */
@Data
public class UserVo {
    @ApiModelProperty(value = "编号",required = false,dataType = "Integer")
    private Integer id;
    @ApiModelProperty(value = "姓名",required = true,dataType = "String")
    private String name;
    @ApiModelProperty(value = "账号",required = true,dataType = "String")
    private String email;
    @ApiModelProperty(value = "密码",required = true,dataType = "String")
    private String password;
    @ApiModelProperty(value = "性别",required = false,dataType = "String")
    private String sex;
    @ApiModelProperty(value = "头像地址",required = false,dataType = "String")
    private String head;
}
